<?php if (!defined('BASEPATH')) 	exit('No direct script access allowed');  ?>

  <div id="am_xian" class=" "> 
      <div class="am_center">
        <div class="am_data">
          <div class="am_geren">
            <div class="am_photo"> 
            	<a href="http://home.panli.com/mypanli/EditUserInfo.aspx"> 
            		<img src="/mysite/images/noimg120.gif" alt="<?php echo CurrentUser(); ?>" 
            		onerror="this.src='http://sf.panli.com/FrontEnd/images20090801/noimg/noimg120.gif'"> 
            	</a> 
            </div>
            <script type="text/javascript">
				$(function() {
					//我的特权显示和隐藏
					$(".am_info>.am_zil>dl>dd>span").mouseover(function() {
						$(this).addClass('am_on');
						$(this).next().show();
						return false;
					}).mouseout(function() {
						$(this).removeClass('am_on');
						$(this).next().hide();
						return false;
					});
					$(".am_info>.am_zil>dl>dd>div").mouseover(function() {
						$(this).show();
						$(this).prev().addClass('am_on');
						return false;
					}).mouseout(function() {
						$(this).hide();
						$(this).prev().removeClass('am_on');
						return false;
					});
				});
                </script>
             
             <div class="am_info">
              <h2> <?php echo CurrentUser(); ?></h2>
              <div class="am_zil">
                <dl style="display:;">
                  <dt><img src="/mysite/images/putongh.gif" alt="普通会员"></dt>
                </dl>
              </div>
              
              <div class="am_zh" style="display:none;"> 
              	  <em>RMB帐户：<span>￥0.00</span><a href="http://home.panli.com/mypanli/Account/pay.aspx?s=1">充值</a></em> <em>帐户积分：<span>500</span><a href="http://home.panli.com/mypanli/Coupon/GetCoupon.aspx">兑换</a></em> 
              </div>
              <div class="am_zh">
                <table>
                  <tbody>
                    <tr>
                      <td>购物车金额：<span>￥0.00</span><a href="http://home.panli.com/mypanli/Coupon/GetCoupon.aspx">前往</a></td>
                      <td>购买金额：<span>￥0.00</span></td>
                    </tr>
                    <tr>
                      <td>收藏夹：<span>500</span><a href="http://home.panli.com/mypanli/Coupon/GetCoupon.aspx">前往</a></td>
                    </tr>
                  </tbody>
                </table>
              </div>
              <p> 您当前已经消费了<a href="http://home.panli.com/mypanli/myAccount/ShoppingRecords.aspx">0</a> 元</p>
          </div> 
          
   </div> 
          
          
          <div class="am_shuju">
            <ul>
              <li class="am_not" pagedata="AcceptedProduct"> <a href="http://home.panli.com/mypanli/OrderCart.aspx">已到货品<span>(0)</span></a> </li>
              <li class="am_not" pagedata="TotalProducts"> <a href="http://home.panli.com/mypanli/OrderCart.aspx">我的送货车<span>(0)</span></a> </li>
              <li class="am_not" pagedata="DeliveredShip"> <a href="http://home.panli.com/mypanli/OrderList.aspx">待确认收货<span>(0)</span></a> </li>
              <li class="am_not" pagedata="RatableShip"> <a href="http://home.panli.com/mypanli/OrderList.aspx">待评价<span>(0)</span></a> </li>
              <li class="am_not" pagedata="RatableService"><a href="http://home.panli.com/mypanli/myCowry/Default.aspx">待分享<span>(0)</span></a> </li>
              <li><a href="http://home.panli.com/mypanli/MessageBox/SystemMessage.aspx"> 未读短信<span>(1)</span></a> </li>
            </ul>
          </div>
      </div>
        
        <script type="text/javascript">
			$(function() {
				$.ajax({
					type : "POST",
					url : "/App_Services/wsMyMessCount.asmx/GetMyMessCount",
					dataType : "json",
					contentType : "application/json;utf-8",
					timeout : 10000,
					success : function(re) {
						var data = eval("(" + re.d + ")");
						$("li[pagedata]").each(function(i, item) {
							var thiscount = parseInt(data[$(this).attr("pagedata")]);
							if (thiscount == 0) {
								$(this).addClass("am_not");
							}
							$(this).find("span").html("(" + thiscount + ")");
						});
					}
				});
			});

    </script>
        
      <div id="gl_overlay" class="gl_overlay" 
         onclick="share.gl_overlayinfo('gl_overlay','none');share.qqinfo('share_qq','none','div_share_qq_result', 'none', 'div_share_qq_copy','none');share.emailinfo('share_email', 'none', 'share_email_result','none', 'share_email_sand','none');" style="display: none;"> 
      </div>
   </div>
